
package com.one.odf.model;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for teamofteamsathleteResultsType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="teamofteamsathleteResultsType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Description" type="{}athleteDescriptionType" minOccurs="0"/&gt;
 *         &lt;element name="EventUnitEntry" type="{}eventUnitEntryType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="ExtendedResults" type="{}extendedResultsType" minOccurs="0"/&gt;
 *         &lt;element name="ExtAthMedals" type="{}extAthMedalsType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Order" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="StartSortOrder" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
 *       &lt;attribute name="StartOrder" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Bib" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "teamofteamsathleteResultsType", propOrder = {
    "description",
    "eventUnitEntry",
    "extendedResults",
    "extAthMedals"
})
public class TeamofteamsathleteResultsType {

    @XmlElement(name = "Description")
    protected AthleteDescriptionType description;
    @XmlElement(name = "EventUnitEntry")
    protected List<EventUnitEntryType> eventUnitEntry;
    @XmlElement(name = "ExtendedResults")
    protected ExtendedResultsType extendedResults;
    @XmlElement(name = "ExtAthMedals")
    protected ExtAthMedalsType extAthMedals;
    @XmlAttribute(name = "Code", required = true)
    protected String code;
    @XmlAttribute(name = "Order")
    protected String order;
    @XmlAttribute(name = "StartSortOrder")
    protected BigInteger startSortOrder;
    @XmlAttribute(name = "StartOrder")
    protected String startOrder;
    @XmlAttribute(name = "Bib")
    protected String bib;

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link AthleteDescriptionType }
     *     
     */
    public AthleteDescriptionType getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link AthleteDescriptionType }
     *     
     */
    public void setDescription(AthleteDescriptionType value) {
        this.description = value;
    }

    /**
     * Gets the value of the eventUnitEntry property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the eventUnitEntry property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEventUnitEntry().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link EventUnitEntryType }
     * 
     * 
     */
    public List<EventUnitEntryType> getEventUnitEntry() {
        if (eventUnitEntry == null) {
            eventUnitEntry = new ArrayList<EventUnitEntryType>();
        }
        return this.eventUnitEntry;
    }

    /**
     * Gets the value of the extendedResults property.
     * 
     * @return
     *     possible object is
     *     {@link ExtendedResultsType }
     *     
     */
    public ExtendedResultsType getExtendedResults() {
        return extendedResults;
    }

    /**
     * Sets the value of the extendedResults property.
     * 
     * @param value
     *     allowed object is
     *     {@link ExtendedResultsType }
     *     
     */
    public void setExtendedResults(ExtendedResultsType value) {
        this.extendedResults = value;
    }

    /**
     * Gets the value of the extAthMedals property.
     * 
     * @return
     *     possible object is
     *     {@link ExtAthMedalsType }
     *     
     */
    public ExtAthMedalsType getExtAthMedals() {
        return extAthMedals;
    }

    /**
     * Sets the value of the extAthMedals property.
     * 
     * @param value
     *     allowed object is
     *     {@link ExtAthMedalsType }
     *     
     */
    public void setExtAthMedals(ExtAthMedalsType value) {
        this.extAthMedals = value;
    }

    /**
     * Gets the value of the code property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets the value of the code property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCode(String value) {
        this.code = value;
    }

    /**
     * Gets the value of the order property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrder() {
        if (order == null) {
            return "";
        } else {
            return order;
        }
    }

    /**
     * Sets the value of the order property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrder(String value) {
        this.order = value;
    }

    /**
     * Gets the value of the startSortOrder property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getStartSortOrder() {
        return startSortOrder;
    }

    /**
     * Sets the value of the startSortOrder property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setStartSortOrder(BigInteger value) {
        this.startSortOrder = value;
    }

    /**
     * Gets the value of the startOrder property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStartOrder() {
        return startOrder;
    }

    /**
     * Sets the value of the startOrder property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStartOrder(String value) {
        this.startOrder = value;
    }

    /**
     * Gets the value of the bib property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBib() {
        if (bib == null) {
            return "";
        } else {
            return bib;
        }
    }

    /**
     * Sets the value of the bib property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBib(String value) {
        this.bib = value;
    }

}
